package com.jueban.Dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

@Data
public class JobTypeDto {

    @Pattern(regexp = "changeOfIP|manager|departmentHead|leader")
    private String jobType;

    @NotNull
    private Integer id;


}
